-
-
Notifications
You must be signed in to change notification settings - Fork 958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(semanticTokens)!: token highlight groups #4667
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4667 +/- ##
==========================================
- Coverage 98.57% 98.55% -0.03%
==========================================
Files 273 273
Lines 26077 26049 -28
Branches 5392 5385 -7
==========================================
- Hits 25705 25672 -33
- Misses 219 223 +4
- Partials 153 154 +1 ☔ View full report in Codecov by Sentry. |
Isn't this creating multiple (about 2-4 times more) highlight spans on the same tokens in n/vim side? And it does not fix the issue about priority in #4659. |
2176e52
to
2286f64
Compare
It's now working for me. We should also update |
And commit message? According to #4659 discussion, current commit/PR description is outdated. |
2286f64
to
0cb6074
Compare
72531de
to
f6b512b
Compare
8aab7c8
to
84f7940
Compare
Needs rebase latest fixes and improve this. |
113f59e
to
7a655fb
Compare
CocSemType + type CocSemMod + modifier CocSemTypeMod + type + modifier The highlight group didn't need to be defined first related #4659
CocSemType + type CocSemTypeMod + type + modifier
modifiers are added to one token type, we can't list them directly
7a655fb
to
429e89b
Compare
@oxalica merged to master, feedbacks are welcome. |
9190bfe feat(list): add --buffer to list buffer diags (#4958) fb030d4 fix(defaultAction) fallback to default action on emtpy expression (#4954) 846994b fix(inlayHint): more compact padding highlight group (#4950) b01ae44 feat(semanticTokens)!: token highlight groups (#4667) 8c85d6f fix(markdown): incorrect list indentation alignment in markdown parser (#4884) 0d66554 fix(inlayHint): hl_mode = 'replace' for neovim (#4949) 1a8244e chore(package): update dependencies (#4948) 4f68722 feat(client): upgrade to marked 7 (#4947) 574c12c feat(package): @types/node@18 (#4946) d299c66 feat(menu): C-j/k to navigate menu (#4945) 34d3d9d chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#4944) aead8f4 chore(CI): use Node 20 (#4940)
BREAKING CHANGE:
CocSem + type
toCocSem + Type + type
CocSem + modifier + type
toCocSem + TypeMod + type + modifier
CocSem + modifier
The highlight group didn't need to be defined first.
semanticTokens.checkCurrent
to the new highlight groups, onlyCocSemTypeXXXX
, modifiers are added to one token type, we can't list them directly.related #4659